package com.sky.service.admin;

import com.sky.dto.OrdersPageQueryDTO;
import com.sky.result.PageResult;
import com.sky.result.Result;
import com.sky.vo.OrderStatisticsVO;

import java.util.concurrent.ExecutionException;

public interface AdminOrderService {

    Result<PageResult> conditionSearch(OrdersPageQueryDTO dto);

    /**
     * 各个状态的订单数量统计
     * @return
     */
    OrderStatisticsVO statistics() throws ExecutionException, InterruptedException;
}
